<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>退款单列表 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="webmall Team" />
<meta name="Copyright" content="webmall" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/admin/css/list.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/member_center.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/template/admin/js/list.js"></script>
</head>

<body class="memberCenter">
	<#include "/WEB-INF/template/shop/header.ftl">
	<div class="body receiverList">
		<div class="bodyLeft">
			<#include "/WEB-INF/template/shop/member_center_left.ftl">
		</div>
		<div class="bodyRight">
			<div class="listBar">
				<span class="icon">&nbsp;</span>退款单列表&nbsp;<span class="pageInfo">总记录数: ${pager.totalCount}(共${pager.pageCount}页)</span>
			</div>
			<form id="listForm" action="refund!list.action" method="post">
				<div class="operateBar">
					<label>查找:</label>
					<select name="pager.property">
						<option value="refundSn" <#if pager.property == "refundSn">selected="selected" </#if>>
							支付编号
						</option>
					</select>
					<label class="searchText"><input type="text" name="pager.keyword" value="${pager.keyword!}" /></label><input type="submit" id="searchButton" class="searchButton" value="" />
				</div>
				<table class="listTable">
					<tr>
						<th class="check">
							<input type="checkbox" class="allCheck" />
						</th>
						<th>
							<span class="sort" name="refundSn">退款编号</span>
						</th>
						<th>
							<span>订单编号</span>
						</th>
						<th>
							<span>卖家</span>
						</th>
						<th>
							<span class="sort" name="totalAmount">退款金额</span>
						</th>
						<th>
							<span class="sort" name="createDate">退款时间</span>
						</th>
						<th>
							<span >退款状态</span>
						</th>
						<th>
							操作
						</th>
					</tr>
					<#list pager.list as list>
						<tr>
							<td>
								<input type="checkbox" name="ids" value="${(list.id)!}" />
							</td>
							<td>
								${list.refundSn}
							</td>
							<td>
								${list.order.orderSn}
							</td>
							<td>
								${refundAction.getSaler(list.order.saler).username}
							</td>
							<td>
								${list.order.totalAmount}
							</td>
							<td>
								<span title="${list.createDate?string("yyyy-MM-dd HH:mm:ss")}">${list.createDate}</span>
							</td>
							<td>
								${list.getRefundStatusDesc()}
							</td>
							<td>
								<a href="refund!view.action?id=${list.id}" title="查看">[查看]</a>
							</td>
						</tr>
					</#list>
				</table>
				<#if (pager.list?size > 0)>
					<div class="pagerBar">
						<#include "/WEB-INF/template/admin/pager.ftl" />
					</div>
				<#else>
					<div class="noRecord">
						没有找到任何记录!
					</div>
				</#if>
			</form>
		</div>
		<div class="blank"></div>
		<#include "/WEB-INF/template/shop/friend_link.ftl">
	</div>
	<div class="blank"></div>
	<#include "/WEB-INF/template/shop/footer.ftl">
</body>
</html>